
class listItem {
  String? nickName;
  String? avatar;
  int? age;
  String? registerCountry;
  String? broadcasterId;
  int? gender;

  listItem(
      {this.nickName,
      this.avatar,
      this.age,
      this.registerCountry,
      this.broadcasterId,
      this.gender});

  listItem.fromJson(Map<String, dynamic> json) {
    nickName = json['nickName'];
    avatar = json['avatar'];
    age = json['age'];
    registerCountry = json['registerCountry'];
    broadcasterId = json['broadcasterId'];
    gender = json['gender'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['nickName'] = this.nickName;
    data['avatar'] = this.avatar;
    data['age'] = this.age;
    data['registerCountry'] = this.registerCountry;
    data['broadcasterId'] = this.broadcasterId;
    data['gender'] = this.gender;
    return data;
  }
}
